home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.teleport.com!sschaem
- From: sschaem@teleport.com (Stephan Schaem)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Amiga programmers in deep shit...
- Date: 18 Jan 1996 02:26:35 GMT
- Organization: Teleport - Portland's Public Access (503) 220-1016
- Distribution: inet
- Message-ID: <4dkb4r$em2@maureen.teleport.com>
- References: <4ccpsd$d8f@maureen.teleport.com> <jdj68ec2xw7.fsf@pulkka.cs.hut.fi> <4dgkcp$9s5@maureen.teleport.com> <4dh3sh$k3p@serpens.rhein.de>
- NNTP-Posting-Host: kelly.teleport.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Michael van Elst (mlelstv@serpens.rhein.de) wrote:
- : sschaem@teleport.com (Stephan Schaem) writes:
-
- : > Read again... do you see your wrong assumtion? Do you know the
- : > concept of a display list? did you even understand what I was talking
- : > about?
-
- : > Having a writepixels(displaylist) is used to write random pixels,
- : > not to write a Hline...
-
- : You seem to have no idea what a display list is either.
-
- The abve call is too example the diference ... writepixelS(displaylist)
- return the pointer the the continuation of the displaylist. ( Actually
- writepixel end with : jmp ([a0]), the ID of the next primitive is the
- funtion adress that take a0 as input and a4 as a drawing context)...
-
- BTW, I did programmed in performer, opengl on SGI box for a while.
- That dont make me an expert on the subject, but I defenetly know how to
- design one and know its advantages.
-
- : > Now have 5000 pixel in your array... what is faster? The loop above
- : > calling setpen/writepixel 5000 time?
-
- : Probably takes the same amount of time if you include the time necessary
- : to _create_ that list.
-
- Not at all... just storing the paramaters VS calling the functions
- each time make a diference... it affect the cache, it affect the function
- call overhead, and setup. all extra VS a display list.
- SGI GL for example call to drawrect() would store the info to be proce
- ssed at a latter time when the display buffer is flushed.(By user demand or
- system). This methode is also nice for offloading the CPU since the list
- can be parsed by another task (cpu) or by a gfx engine.
-
- : > This example apply to lines or any other primitive too,
- : > but less dramatic.
-
- : That's why you chose the worst cases deliberatly.
-
- It was the simplest to example... Do you want to go into detail
- on why display lists are not better then a set of individual primitive
- calls? But this time, put your one liner aside, and prove it is a
- false claim with somthing more consistant...
-
- Stephan
-